package com.zhiyou.mapper;

import java.util.List;

import com.zhiyou.pojo.Product;
import com.zhiyou.pojo.Report;
import com.zhiyou.pojo.Type;

public interface ProductMapper {

	List<Type> findTypes();
	
	void addPerson(Product product);
	
	Product findProduct(int userId);
	
	void updateProductBasic(Product product);
	
	void updateProductInfo(Product product);
	
	void updateProductDetail(Product product);
	
	void updateProductRepay(Report report);
	
	void addProductRepay(Report report);
	
	Report findReport(int productId);
	
	void updateProductStats(int userId);

}
